using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;


namespace Hoshimi._Map_._Objective_
{
    public class AZNObjectiveZone : ObjectiveZone
    {
        public static Dictionary<byte, AZNObjectiveZone> myAZNObjective {get { return myMapManager.AZNObjectives;}}
        

        // METHODES
        public static AZNObjectiveZone GetNearestAZNZone(Point point, ref PathFinderConfig pathFinderConfig)
        {
            return ObjectiveZone.GetNearestObjective<AZNObjectiveZone>(point, myAZNObjective, ref pathFinderConfig); ;
        }

		public static AZNObjectiveZone GetNearestAZNZone(Point point, ref PathFinderConfig pathFinderConfig, out int cost)
        {
            return ObjectiveZone.GetNearestObjective<AZNObjectiveZone>(point, myAZNObjective, ref pathFinderConfig, out cost);
        }

		public static AZNObjectiveZone GetAZNInWay(Point startPoint, Point endPoint, ref PathFinderConfig pathFinderConfig)
        {
            return ObjectiveZone.GetObjectiveInWay<AZNObjectiveZone>(startPoint, endPoint, myAZNObjective, ref pathFinderConfig); ;
        }

		public static AZNObjectiveZone GetAZNInWay(Point startPoint, Point endPoint, ref PathFinderConfig pathFinderConfig, out int cost)
        {
            return ObjectiveZone.GetObjectiveInWay<AZNObjectiveZone>(startPoint, endPoint, myAZNObjective, ref pathFinderConfig, out cost); ;
        }

        //Ctor
        public AZNObjectiveZone(Point center, int distanceFromCenter)
            : base(center, distanceFromCenter)
        {
        }
    }
}
